.class Les/xy$s1;
.super Ljava/lang/Object;
.source "EditMenuItemProvider.java"

# interfaces
.implements Landroid/view/MenuItem$OnMenuItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/xy;->d()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/xy;


# direct methods
.method constructor <init>(Les/xy;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/xy$s1;->a:Les/xy;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onMenuItemClick(Landroid/view/MenuItem;)Z
    .locals 4

    .line 1
    iget-object p1, p0, Les/xy$s1;->a:Les/xy;

    invoke-static {p1}, Les/xy;->b(Les/xy;)Ljava/util/List;

    move-result-object p1

    .line 2
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    const/4 v1, 0x1

    const/4 v2, 0x0

    if-nez v0, :cond_0

    .line 3
    iget-object p1, p0, Les/xy$s1;->a:Les/xy;

    invoke-static {p1}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p1

    invoke-virtual {p1}, Landroid/app/Activity;->getBaseContext()Landroid/content/Context;

    move-result-object p1

    const v0, 0x7f1104a3

    invoke-static {p1, v0, v2}, Lcom/estrongs/android/ui/view/d;->a(Landroid/content/Context;II)V

    goto :goto_0

    .line 4
    :cond_0
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    if-ne v0, v1, :cond_3

    .line 5
    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Les/y10;

    if-eqz v0, :cond_1

    .line 6
    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Les/y10;

    invoke-virtual {p1}, Les/y10;->p()Landroid/content/pm/ApplicationInfo;

    move-result-object p1

    .line 7
    iget-object v0, p0, Les/xy$s1;->a:Les/xy;

    invoke-static {v0}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    invoke-static {v0, p1}, Lcom/estrongs/android/pop/utils/j;->a(Landroid/content/Context;Landroid/content/pm/ApplicationInfo;)Z

    goto :goto_0

    .line 8
    :cond_1
    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Les/e20;

    if-eqz v0, :cond_2

    .line 9
    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Les/e20;

    iget-object p1, p1, Les/e20;->p:Landroid/content/pm/ApplicationInfo;

    .line 10
    iget-object v0, p0, Les/xy$s1;->a:Les/xy;

    invoke-static {v0}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v0

    invoke-static {v0, p1}, Lcom/estrongs/android/pop/utils/j;->a(Landroid/content/Context;Landroid/content/pm/ApplicationInfo;)Z

    goto :goto_0

    .line 11
    :cond_2
    new-instance v0, Lcom/estrongs/android/ui/dialog/s0;

    iget-object v3, p0, Les/xy$s1;->a:Les/xy;

    invoke-static {v3}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v3

    .line 12
    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/fs/g;

    invoke-direct {v0, v3, p1}, Lcom/estrongs/android/ui/dialog/s0;-><init>(Landroid/app/Activity;Lcom/estrongs/fs/g;)V

    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/s0;->a()V

    goto :goto_0

    .line 13
    :cond_3
    invoke-interface {p1, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    instance-of v0, v0, Les/y10;

    if-nez v0, :cond_4

    .line 14
    new-instance v0, Lcom/estrongs/android/ui/dialog/a0;

    iget-object v2, p0, Les/xy$s1;->a:Les/xy;

    invoke-static {v2}, Les/xy;->a(Les/xy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object v2

    iget-object v3, p0, Les/xy$s1;->a:Les/xy;

    .line 15
    invoke-static {v3}, Les/xy;->c(Les/xy;)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v0, v2, p1, v3}, Lcom/estrongs/android/ui/dialog/a0;-><init>(Landroid/app/Activity;Ljava/util/List;Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/a0;->a()V

    :cond_4
    :goto_0
    return v1
.end method
